package com.net.lnk.batch.bank.dto;

import java.io.Serializable;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class BankcardDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private String bankName;

	private String cardName;

	private Integer cardNoLength;

	private String cardNoSample;

	@Max(value = 16, message = "卡BIN长度不能超过16位字符")
	@Min(value = 4, message = "卡BIN长度不能少于4位字符")
	private Integer binLength;

	@NotNull(message = "卡BIN不能为空")
	private String bin;

	private String cardType;

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getCardName() {
		return cardName;
	}

	public void setCardName(String cardName) {
		this.cardName = cardName;
	}

	public Integer getCardNoLength() {
		return cardNoLength;
	}

	public void setCardNoLength(Integer cardNoLength) {
		this.cardNoLength = cardNoLength;
	}

	public String getCardNoSample() {
		return cardNoSample;
	}

	public void setCardNoSample(String cardNoSample) {
		this.cardNoSample = cardNoSample;
	}

	public Integer getBinLength() {
		return binLength;
	}

	public void setBinLength(Integer binLength) {
		this.binLength = binLength;
	}

	public String getBin() {
		return bin;
	}

	public void setBin(String bin) {
		this.bin = bin;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

}
